<li>
<%=photo.public_filename(:thumb)%><br>
  <%= link_to image_tag(photo.public_filename(:thumb)), 
              article_photo_path(:article_id => photo.article, :id => photo) %>
</li>
